home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C++
/
Frameworks
/
Sprocket Framework DR2
/
Sprocket Starter
/
SprocketStarter Code
/
FuturesDemo.h
< prev
next >
Wrap
Text File
|
1996-03-13
|
705b
|
30 lines
#ifndef __FUTURESDEMO__
#define __FUTURESDEMO__
#ifndef __APPLEEVENTS__
#include <AppleEvents.h>
#endif
#define kSillyEventClass 'sily'
#define kPingEvent 'ping'
#define kPing1Event 'png1'
#define kPing2Event 'png2'
enum
{
cPing = 998,
cPing2 = 999
};
pascal OSErr HandlePing(AppleEvent question, AppleEvent answer, long handlerRefcon);
pascal OSErr HandlePing1(AppleEvent question, AppleEvent answer, long handlerRefcon);
pascal OSErr HandlePing2(AppleEvent question, AppleEvent answer, long handlerRefcon);
void SendSimpleAEvt(AEEventClass theAEEventClass, AEEventID theAEEventID);
pascal void InitFuturesDemo(void);
pascal void CleanupFuturesDemo(void);
#endif // __FUTURESDEMO__